// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import Vant from 'vant'
import 'vant/lib/index.css'

import axios from 'axios'
Vue.prototype.$axios = axios
import './premision'

Vue.config.productionTip = false
Vue.use(Vant)

import { Form, Field, Swipe, SwipeItem, PullRefresh, DropdownMenu, DropdownItem, Picker, Switch, Badge } from 'vant'

Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(PullRefresh)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Picker)
Vue.use(Switch)
Vue.use(Badge)

import { parseTime } from '@/utils/dateUtil.js'
Vue.prototype.$parseTime = parseTime


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App),
  store
})


